#-------------------------------------------------
#
# Project created by QtCreator 2013-06-05T16:00:19
#
#-------------------------------------------------

QT       += network
QT       -= gui

CONFIG += c++11

include(src/config.pri)

DESTDIR  = ../../bin

TEMPLATE = lib
UI_DIR  = build
RCC_DIR = build

CONFIG(debug, debug|release) {
    TARGET      = uzdatagetter_d
    OBJECTS_DIR = build/debug
    MOC_DIR     = build/debug
}
else {
    TARGET      = uzdatagetter
    OBJECTS_DIR = build/release
    MOC_DIR     = build/release
}

DEFINES += UZDATAGETTER_LIBRARY

SOURCES += src/uzdatagetter.cpp \
    src/traindata.cpp

HEADERS += src/uzdatagetter.hpp\
        src/uzdatagetter_global.hpp \
    src/traindata.hpp

CONFIG(debug, debug|release) {
    LIBS += -lqloggerd
} else {
    LIBS += -lqlogger
}

unix:!symbian {
    maemo5 {
        target.path = /opt/usr/lib
    } else {
        target.path = /usr/lib
    }
    INSTALLS += target
}

OTHER_FILES += \
    src/uzdatagetter.json \
    TicketAnsv.json \
    Coaches.json
